<template>
  <view>
    <c-header></c-header>
    <swiper-taro :classA="classA"></swiper-taro>
    <function-box :funBoxList="funBoxList"></function-box>
    <fourBox></fourBox>
    <fourBox></fourBox>
    <fourBox></fourBox>
    <fourBox></fourBox>
    <sixBox></sixBox>
    <focusBox></focusBox>
    <campus></campus>
    <issue></issue>
    <guide></guide>
    <c-footer></c-footer>
    <view class="fixed-consultation"></view>
  </view>
</template>

<script>
import "./index.css";
import Taro from "@tarojs/taro";
import headers from '../../components/header/headers.vue';
import swiper from '../../components/swiper/swiper.vue'
import boxFour from '../../components/fourBox/fourBox.vue'
import Focus from '../../components/focus/focus.vue';
import functionBox from '../../components/functionBox/functionBox.vue';
import taroSixBox from '../../components/sixBox/sixBox.vue';
import schoolSelectionGuide from '../../components/guide/guide.vue';
import askedQuestions from '../../components/issue/issue.vue';
import campusOpenHouse from '../../components/campus/campus.vue';
import footers from '../../components/footer/footers.vue';
export default {
  components:{
    footers,
    headers,
    swiper,
    functionBox,
    boxFour,
    Focus,
    taroSixBox,
    schoolSelectionGuide,
    askedQuestions,
    campusOpenHouse
  },
  name: "",
  data() {
  
    return {
      classA:'class-a' ,
      show: false,
      show2: false,
      isShow: true,
      funBoxList: [
        {
          id: '0',
          imgUrls:
            "https://bpic.588ku.com/element_origin_min_pic/19/04/09/315fbbd9ff2e8d99c0996df4302b90ad.jpg",
          title: "测试文字",

        },
        {
          id: '1',
          imgUrls:
            "https://bpic.588ku.com/element_origin_min_pic/19/04/09/315fbbd9ff2e8d99c0996df4302b90ad.jpg",
          title: "测试文字",
        },
        {
          id: '2',
          imgUrls:
            "https://bpic.588ku.com/element_origin_min_pic/19/04/09/315fbbd9ff2e8d99c0996df4302b90ad.jpg",
          title: "测试文字",
        },
        {
          id: '3',
          imgUrls:
            "https://bpic.588ku.com/element_origin_min_pic/19/04/09/315fbbd9ff2e8d99c0996df4302b90ad.jpg",
          title: "测试文字",
        },
        {
          id: '4',
          imgUrls:
            "https://bpic.588ku.com/element_origin_min_pic/19/04/09/315fbbd9ff2e8d99c0996df4302b90ad.jpg",
          title: "测试文字",
        },
        {
          id: '5',
          imgUrls:
            "https://bpic.588ku.com/element_origin_min_pic/19/04/09/315fbbd9ff2e8d99c0996df4302b90ad.jpg",
          title: "测试文字",
        },
        {
          id: '6',
          imgUrls:
            "https://bpic.588ku.com/element_origin_min_pic/19/04/09/315fbbd9ff2e8d99c0996df4302b90ad.jpg",
          title: "测试文字",
        },
        {
          id: '7',
          imgUrls:
            "https://bpic.588ku.com/element_origin_min_pic/19/04/09/315fbbd9ff2e8d99c0996df4302b90ad.jpg",
          title: "测试文字",
        },
      ],
      data:{
        post:{}
      },
      // 可以使用所有的 Vue 生命周期方法
      mounted() {},

      // onLoad
      onLoad:function(options) {
        Taro.request({
          url:'',
          success:(res)=>{
            this.setData({
              post:res.data.data
            })
          }
        })
      },

      // onReady
      onReady() {
        
      },

      // 对应 onShow 显示的时候
      onShow() {},

      // 对应 onHide 隐藏的时候
      onHide() {},

      // 对应 onPullDownRefresh
      onPullDownRefresh() {},
    };
  },
  methods: {
    
  },
};
</script>
